package com.meixiang.entity.shopping.result;

import com.meixiang.entity.BaseListResult;
import com.meixiang.entity.services.Evaluate;
import com.meixiang.entity.shopping.GoodsEvaluateEntity;

import java.util.List;

/**
 * 商品评论
 *
 * @author LZRUI
 */
public class GoodsCommentResult extends BaseListResult {

    private String scores; // 评分
    private String scoresText; // 综合评价
    private String commentCount; // 评论总数
    private List<GoodsEvaluateEntity> evaluateList; // 评论列表
    private List<Evaluate> goodsTagList; // 标签列表

    public GoodsCommentResult() {
    }

    public GoodsCommentResult(String scores, String scoresText, String commentCount, List<GoodsEvaluateEntity> evaluateList, List<Evaluate> goodsTagList) {
        this.scores = scores;
        this.scoresText = scoresText;
        this.commentCount = commentCount;
        this.evaluateList = evaluateList;
        this.goodsTagList = goodsTagList;
    }

    public String getCommentCount() {
        return commentCount == null ? "0" : commentCount;
    }

    public void setCommentCount(String commentCount) {
        this.commentCount = commentCount;
    }

    public List<Evaluate> getGoodsTagList() {
        return goodsTagList;
    }

    public void setGoodsTagList(List<Evaluate> goodsTagList) {
        this.goodsTagList = goodsTagList;
    }

    public List<GoodsEvaluateEntity> getEvaluateList() {
        return evaluateList;
    }

    public void setEvaluateList(List<GoodsEvaluateEntity> evaluateList) {
        this.evaluateList = evaluateList;
    }

    public String getScores() {
        return scores == null ? "0" : scores;
    }

    public void setScores(String scores) {
        this.scores = scores;
    }

    public String getScoresText() {
        return scoresText;
    }

    public void setScoresText(String scoresText) {
        this.scoresText = scoresText;
    }
}
